package cn.lili.modules.grab;

import cn.lili.modules.grab.dingdong.res.order.CreateOrderRequest;
import cn.lili.modules.grab.dingdong.res.order.FreightCalcRequest;
import cn.lili.modules.grab.dingdong.res.order.GetOrderInfoRequest;
import cn.lili.modules.grab.xdxt.res.order.CreateOrderReq;
import cn.lili.modules.grab.xdxt.res.order.OrderFreightPreviewReq;
import cn.lili.modules.order.order.entity.dos.Order;
import cn.lili.modules.order.order.entity.dos.OrderItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class GrabOrderParam {

    @ApiModelProperty("渠道Code")
    private String code;

    @ApiModelProperty("订单信息")
    private Order order;

    @ApiModelProperty("订单子表信息")
    private List<OrderItem> orderItems;

    @ApiModelProperty("订单子表信息")
    private OrderItem orderItem;

    /********************企叮咚*******************/

    @ApiModelProperty("订单运费计算条件")
    private FreightCalcRequest freightCalcRequest;

    @ApiModelProperty("创建订单条件")
    private CreateOrderRequest createOrderRequest;

    @ApiModelProperty("订单详情条件")
    private GetOrderInfoRequest getOrderInfoRequest;

    /********************盛创汇联*******************/
    @ApiModelProperty("订单运费计算条件")
    private OrderFreightPreviewReq orderFreightPreviewReq;

    @ApiModelProperty("创建订单条件")
    private CreateOrderReq createOrderReq;

    /********************其它*******************/
}
